﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;
using RIDA.Globals;
using System.Windows;
using RIDA.TaskView.ViewModel;

namespace RIDA.Studio.ViewModels
{
    public class MainViewModel : ViewModelBase
    {

        public MainViewModel()
        {
            PropertyGrid = new PropertyGridViewModel();
            TasksToolbox = new TasksToolboxViewModel();
            ShellServices.PropertyGrid = PropertyGrid;
        }

        private PropertyGridViewModel _propertyGridViewModel;

        public PropertyGridViewModel PropertyGrid
        {
            get { return _propertyGridViewModel; }
            set { _propertyGridViewModel = value; OnNotifyPropertyChanged("PropertyGrid"); }
        }

        private TasksToolboxViewModel _tasksToolboxViewModel;

        public TasksToolboxViewModel TasksToolbox
        {
            get { return _tasksToolboxViewModel; }
            set { _tasksToolboxViewModel = value; OnNotifyPropertyChanged("TasksToolbox"); }
        }



    }
}
